package stw.brassdawn;

import junit.framework.Assert;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import stw.brassdawn.map.GameMap;

public class TestNullMapSize {

	private GameMap gm = null;
	@Before
	public void setUp() throws Exception {
		gm = new GameMap( null );
	}

	@After
	public void tearDown() throws Exception {
		gm = null;
	}
	
	@Test
	public void testGameMapDimension() {
		boolean value = false;
		if( gm.getMapSize().equals(GameMap.DEFAULT_MAP_SIZE) )
			value = true;
		Assert.assertTrue( value );
	}
}
